@using Seal.Model
@{ 
    ReportView view = Model;
    Report report = view.Report; 
}

@if (!report.PrintLayout)
{
    <ul id="tc_@(view.IdSuffix)" class="nav nav-@(view.GetValue("tab_style"))s @(view.GetValue("tab_position") != "top" ? "nav-stacked" : "") @(view.GetBoolValue("tab_justified") ? "nav-justified" : "")">
        @foreach (ReportView childView in view.Views.OrderBy(i => i.SortOrderFull))
        {
            <li><a data-toggle="@(view.GetValue("tab_style"))" href='#@(childView.IdSuffix)_tab_page' @Raw(childView.AddAttribute("style", "tab_page_css"))>@childView.ViewName</a></li>
        }
    </ul>
}
